home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
text
/
misc
/
fill.lha
/
Fill
/
README.Amiga
< prev
next >
Wrap
Text File
|
1993-01-21
|
2KB
|
64 lines
WHAT IS THIS?
This program is a paragraph filler. That is, it automatically
justifies text and/or makes it into a single paragraph. It's intended
to be invoked from inside your text editor (if your text editor can
invoke external commands) to neaten up your paragraphs, but it also
works on the command line, reading from standard input and writing to
standard output.
I have successfully used it with TurboText, and a macro file
(FillTest.ttx) is provided as an example of how to do it.
ENCLOSED FILES
Fill The program.
README.Amiga The file you are reading now.
Amiga.DOC Program documentation for the Amiga.
filltest.ttx An ARexx macro for TurboText.
test_file A new test file
test_file.orig The test file originally supplied
fill.1 Program documentation for UNIX, in troff format.
fill.c Source code
getopt.c Source code
Makefile Amiga makefile
Makefile.UNIX UNIX makefile
POSTER Information on where the program first appeared
PROGRAMMING INFO
I ported this program to the Amiga, and it compiles with the Manx
Aztec C compiler version 5.2a. My changes included:
o Switched to ANSI C and adding prototypes.
o All the "#ifdef AMIGA" sections:
o Added an Amiga version number for the "Version" command.
o Added support for "Fill ?" to get a usage message.
o Moved the usage message into a new function, Usage().
o Commented out the "#include <memory.h>" and adding
"#include <stdlib.h>".
o Provided a getopt() function in getopt.c.
o Added -DUNIX to the UNIX Makefile.
o Created a simple Amiga Makefile for Aztec C.
o Bumped the version number to 2.7a.
My thanks to the author for making this code available in comp.sources.misc!
If you find any bugs, please send them to me.
I can't guarantee I'll fix them, since my port was such a quick hack,
but it can't hurt to ask me....
---
Daniel J. Barrett
barrett@cs.umass.edu
January 21, 1993